package com.project.poetry.service.entity.po.file;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.project.poetry.common.entity.BasePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author mengxj
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_file")
public class FilePO extends BasePO {

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("文件名")
    private String fileName;

    @ApiModelProperty("临时文件名")
    private String tempName;

    @ApiModelProperty("文件路径")
    private String filePath;

    @ApiModelProperty("文件描述")
    private String fileDesc;

    @ApiModelProperty("上传人 id")
    private Long userId;

    @ApiModelProperty("是否密件 对应sys_code type=40")
    private Integer isSecret;
}